package com.tuocent.dagv2.service;

import com.alibaba.fastjson.JSONObject;
import com.tuocent.dagv2.common.AjaxResult;
import com.tuocent.dagv2.entity.TaskWorkProcedure;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.ui.Model;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Vincent
 * @since 2025-07-31
 */
public interface ITaskWorkProcedureService extends IService<TaskWorkProcedure> {

    String setTaskWorkProcedure(Model model, String id, String pid);

    AjaxResult getTaskWorkProcedure(String tid, String pid);

    AjaxResult saveTaskWorkProcedure(JSONObject object);

    String setUserWorkProcedure(Model model, String userId);

    AjaxResult getUserWorkProcedure(String tid, String pid, String userId);

    AjaxResult saveUserWorkProcedure(JSONObject data);
}
